﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace Microfinance_Management
{
    public partial class employ_info : Form
    {
        private string m_id;
        public employ_info(string id)
        {
            m_id = id;
            InitializeComponent();
        }

        private void employ_info_Load(object sender, EventArgs e)
        {
            StringBuilder name = new StringBuilder(20);
            StringBuilder address = new StringBuilder(50);
            StringBuilder tel = new StringBuilder(20);
            MySQL.DisplayPersonalInfo(m_id,name,address,tel);
            textBox1.Text = name.ToString();
            textBox2.Text = address.ToString();
            textBox3.Text = tel.ToString();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            MessageBox.Show("修改成功");
        }

        private void textBox2_TextChanged(object sender, EventArgs e)
        {

        }
    }
}
